package com.ct.gd.passport.view;

import android.view.View;
import com.up91.common.android.App;

public class InputInvalidException extends RuntimeException {
    private View input;

    public InputInvalidException(String detailMessage, View input) {
        super(detailMessage);
        this.input = input;
    }

    public InputInvalidException(int detailMessage, View input) {
        super(App.getApplication().getString(detailMessage));
        this.input = input;
    }

    public View getInput() {
        return input;
    }
}
